<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="js/vue.js"></script>
    <style>
        [v-clock] {
            display: none;
        }
    </style>
</head>

<body>
    <div id="app">
        <h3 v-cloak>{{msg}}</h3>
    </div>

    <script>
        var vm = new Vue({
            el: "#app",
            data: {
                msg: "欢迎来到我的网页"
            },
            created: function () {
                alert('Vue实例还在创建中')
            },
        })
    </script>

</body>

</html>